
package bera.lee.memorycard;

import java.util.HashMap;

/**
 *<pre>
 * <b><font color="blue">Config</font></b>
 * </pre>
 * 
 *<pre>
 * <b>&nbsp;--描述说明--</b>
 * </pre>
 * 
 * <pre></pre>
 * 
 * <pre>
 * <b>--样例--</b>
 *   Config obj = new Config();
 *   obj.method();
 * </pre>
 * 
 * JDK版本：JDK1.4
 * 
 * @author <b>beralee</b>
 */
public class Config {
	/**
	 * 游戏模式，0为过关，1为挑战
	 */
	public static int MODE = 1;

	/**
	 * 开启背景音乐
	 */
	public static boolean OPEN_MUSIC = false;
	
	/**
	 * 背景音乐
	 */
	public static int MUSIC_SONG=R.raw.music1;
	/**
	 * 胜利音乐
	 */
	public static int MUSIC_WIN=R.raw.win;

	/**
	 * 开启音效
	 */
	public static boolean OPEN_BGM = false;

	/**
	 * 卡片总张数
	 */
	public static int CARD_NUM =48;

	/**
	 * 卡片种类 1马里奥 2 3 4...
	 */
	public static String CARD_TYPE = "mario";

	/**
	 * 背景音乐资源
	 */
	public static int MUSIC;

	/**
	 * 背景图片资源
	 */
	public static int BACKGROUND = R.drawable.bg7;

	/**
	 * 当前关卡
	 */
	public static int Point;

	/**
	 * 默认卡片
	 */
	public static int DCARD = R.drawable.icon;
	
	/**
	 *最大关卡数
	 */
	public static int MaxPoint =12;
	/**
	 *可以选择的最大关卡
	 */
	public static int CAN_CHOOSE_Point = 1;
	
	public static int CARD_SIZE = 48;
	
	public static HashMap<Integer,Integer> pointvaluemap=new HashMap<Integer,Integer>();
	static{
		pointvaluemap.put(new Integer(1), new Integer(12000));
		pointvaluemap.put(new Integer(2), new Integer(20000));
		pointvaluemap.put(new Integer(3), new Integer(30000));
		pointvaluemap.put(new Integer(4), new Integer(40000));
		pointvaluemap.put(new Integer(5), new Integer(70000));
		pointvaluemap.put(new Integer(6), new Integer(110000));
		pointvaluemap.put(new Integer(7), new Integer(130000));
		pointvaluemap.put(new Integer(8), new Integer(160000));
		pointvaluemap.put(new Integer(9), new Integer(60000));
		pointvaluemap.put(new Integer(10), new Integer(160000));
		pointvaluemap.put(new Integer(11), new Integer(160000));
		pointvaluemap.put(new Integer(12), new Integer(160000));
	}
	



}
